@import "_base.scss";
body{
	margin: 0 auto;
	font: .8rem/1.5 "Helvetica Neue", Helvetica, STHeiTi, "Droid Sans Fallback", "Microsoft YaHei";
	background: #ededed;
	color: #333;
	-webkit-text-size-adjust: none !important;
	-webkit-font-smoothing: antialiased;
}
header,footer,section,aside,figure,nav{
	margin: 0;
	padding: 0;
}
h1,h2,h3,h4{
	margin: 0;
	padding: 0;
	font-weight: normal;
}
ul,li,dl,dt,dd,p{
	margin: 0;
	padding: 0;
	list-style-type: none;
}
input,button,textarea{
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	-webkit-appearance: none;
	outline: none;
	border-radius: 0;
	font: 1.2rem/1.5 "Helvetica Neue", Helvetica, STHeiTi, "Droid Sans Fallback", "Microsoft YaHei";
}
button{
	text-align: center;
	cursor: pointer;
}
img{
	display: block;
	max-width: 100%;
	border: 0;
	margin: 0;
	vertical-align: middle;
}
a,a:link,a:hover,a:active,a:visited{
	color: #333;
	text-decoration: none;
}
.left{
	float: left;
}
.right{
	float: right;
}
.pf{
	position: fixed;
}
.pr{
	position: relative;
}
.pa{
	position: absolute;
}
.clearfix:after{
	content: "";
	display: block;
	height: 0;
	clear: both;
	line-height: 0;
	visibility: hidden;
}
.center{
	text-align: center;
}
.hide{
	display: none;
}
.show{
	display: block;
}
.white{
	background: white;
}
.nowrap{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
// 多行禁止溢出
.more-nowrap{
	word-break: break-all;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.sizing{
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.d-flex{
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
.flex-1{
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	width: 0;
	-webkit-flex-basis: 0;
	-ms-flex-preferred-size: 0;
	flex-basis: 0;
	max-width: 100%;
	display: block;
}
.arrow:after{
	content: "";
	position: absolute;
	width: .4rem;
	height: .4rem;
	top: 50%;
	right: 0;
	border-top: .1rem solid #999;
	border-left: .1rem solid #999;
	margin-top: -.26rem;
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}
.barrow:after{
	content: "";
	position: absolute;
	width: .8rem;
	height: .8rem;
	top: 50%;
	right: 0;
	border-top: .1rem solid #999;
	border-left: .1rem solid #999;
	margin-top: -.26rem;
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}
.fixed-100{
	position: fixed;
	width: 100%;
	min-width: 320px;
	max-width: 640px;
	top: 0;
	bottom: 0;
}
.yuan:before{
	content: "¥";
	font-family: "Arial";
}
//搜索框
.search-box{
	height: rem(40);
	overflow: hidden;
	padding: rem(20) rem(34);
	line-height: rem(40);
	.tips{
		width: rem(600);
		height: rem(40);
		overflow: hidden;
		margin-right: rem(10);
		font-size: rem(22);
		color: $c3;
		background: #fef3f3;
		@include radius(rem(8));
		span{
			padding-left: rem(34);
			@include bg('../images/search-icon.png',rem(27),rem(27))
		}
	}
	.txt{
		font-size: rem(32);
		color: $r8;
	}
}